package com.finance.cooperate.feature.builder;

import com.finance.cooperate.feature.core.base.Builder;
import com.finance.cooperate.feature.core.base.Reader;
import com.finance.cooperate.feature.reader.*;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @ClassName SecondLoanReaderBuilder
 * @Description 二三贷特征Builder
 * @Author shen
 * @Date 2022/6/20 22:22
 * @Modify ...
 */
@Component
public class SecondLoanReaderBuilder implements Builder<Reader> {
    @Override
    public List<Reader> build() {

        return new ArrayList<Reader>(Arrays.asList(
                new CrcReader(),
                new ScrapyAppsReader(),
                new AppReader(),
                new SmsReader(),
                new IdentityReader(),
                new BorrowingReader(),
                new PersonalReader(),
                new DeviceReader(),
                new UserReader(),
                new PublicReader()
        ));

    }
}
